package com.example.demo.service;

import com.example.demo.dto.UserDTO;

public interface UserService {
    UserDTO getUserById(long id);
    UserDTO getUserByName(String name);
    Long addNewUser(UserDTO userDTO);
    void deleteUserById(long id);
    UserDTO updateUserById(long id, String name, String password, String email, String phoneNumber,String account);
    UserDTO getUserByAccount(String account);
}
